package cn.vic.genertor.other;

/**
 * Created by vic on 2017/11/16.
 */
public class JsonValue {
    /**
     * 层级
     */
    private int index;
    /**
     * 字段名字
     */
    private Object key;
    /**
     * 值
     */
    private Object value;

    public JsonValue() {

    }

    public JsonValue(int index, Object key, Object value) {
        this.index = index;
        this.key = key;
        this.value = value;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public Object getKey() {
        return key;
    }

    public void setKey(Object key) {
        this.key = key;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }
}
